<template>
    <el-tabs v-model="activeName" type="border-card">
        <el-tab-pane label="全部" name="common">
            <common-label></common-label>
        </el-tab-pane>
        <el-tab-pane label="我关注的" name="attention">
            <attention-label></attention-label>
        </el-tab-pane>
    </el-tabs>
</template>

<script>
    import CommonLabel from './commonLabel'
    import AttentionLabel from './attentionLabel'

    export default {
        name: 'globalLabel',
        components: {
            CommonLabel,
            AttentionLabel
        },
        data () {
            return {
                activeName: 'common'
            }
        }
    }
</script>

<style scoped>

</style>
